package product.server;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import product.dao.ProductInfo;
import product.mapper.ProductMapper;

@Service
public class ProductServer {

    @Autowired
    ProductMapper orderMapper;

    public ProductInfo getOrderById(int productId) {
        return orderMapper.selectById(productId);
    }
}
